Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] Create endpoints to handle reviewing a PR and checking state of the review #1478

Merged
merged 2 commits into from
Nov 22, 2024

Conversation

rohitvinnakota-codecov
Copy link
Member

Initial work to provision endpoints.

Full plan is captured here:
codecov/engineering-team#2678

@rohitvinnakota-codecov rohitvinnakota-codecov requested a review from a team as a code owner November 21, 2024 15:07
@rohitvinnakota-codecov rohitvinnakota-codecov changed the title [feat] Create 2 endpoints to handle reviewing a PR and checking state of the review [feat] Create endpoints to handle reviewing a PR and checking state of the review Nov 21, 2024
class CodegenPrReviewStateResponse(BaseModel):
run_id: int
status: CodegenStatus
changes: list[FileChange]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are file changes the right data type here or is this just a placeholder?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Placeholder for now, will update with implementation.

@rohitvinnakota-codecov rohitvinnakota-codecov merged commit 749764c into main Nov 22, 2024
10 of 11 checks passed
@rohitvinnakota-codecov rohitvinnakota-codecov deleted the rvinnakota/add-pr-review-base branch November 22, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants